
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>system.runtime.c.stdarg</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("system.runtime.c.stdarg");</script>
	<table class="content">
		<tr><td id="docbody"><h1>system.runtime.c.stdarg</h1><!-- Generated by Ddoc from F:\MyWork\phoenix\source\system\runtime\c\stdarg.d -->
D header file for C99.
<br><br>
<b>License:</b><br>
Public Domain
<br><br>
<b>Authors:</b><br>
Hauke Duden, Walter Bright
<br><br>
<b>Standards:</b><br>
ISO/IEC 9899:1999 (E)
 
<br><br>

 This is for use with extern(C) variable argument lists.
 It should be interface compatible with the C module "
<span class="currsymbol">stdarg</span>
<script>explorer.outline.addDecl('stdarg');</script>

," and the
 two modules may share a common implementation if possible (as is done
 here).
 
<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">va_list</span>
<script>explorer.outline.addDecl('va_list');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>The base vararg list type.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">va_start</span>
<script>explorer.outline.addDecl('va_start');</script>

(T)(out va_list <span class="funcparam">ap</span>, ref T <span class="funcparam">parmn</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>This function initializes the supplied argument pointer for subsequent
 use by va_arg and va_end.
<br><br>
<b>Params:</b><br>
<table><tr>
<td nowrap valign="top" style="padding-right: 8px">ap</td>

               
<td>The argument pointer to initialize.</td></tr>
<tr>
<td nowrap valign="top" style="padding-right: 8px">paramn</td>

               
<td>The identifier of the rightmost parameter in the function
            parameter list.</td></tr>
</table><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">T 
<span class="currsymbol">va_arg</span>
<script>explorer.outline.addDecl('va_arg');</script>

(T)(ref va_list <span class="funcparam">ap</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>This function returns the next argument in the sequence referenced by
 the supplied argument pointer.  The argument pointer will be adjusted
 to point to the next arggument in the sequence.
<br><br>
<b>Params:</b><br>
<table><tr>
<td nowrap valign="top" style="padding-right: 8px">ap</td>

               
<td>The argument pointer.</td></tr>
</table><br>
<b>Returns:</b><br>
The next argument in the sequence.  The result is undefined if ap
  does not point to a valid argument.
         
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">va_end</span>
<script>explorer.outline.addDecl('va_end');</script>

(va_list <span class="funcparam">ap</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>This function cleans up any resources allocated by va_start.  It is
 currently a no-op and exists mostly for syntax compatibility with
 the variadric argument functions for C.
<br><br>
<b>Params:</b><br>
<table><tr>
<td nowrap valign="top" style="padding-right: 8px">va_list <span class="funcparam">ap</span></td>

               
<td>The argument pointer.</td></tr>
</table><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">va_copy</span>
<script>explorer.outline.addDecl('va_copy');</script>

(out va_list <span class="funcparam">dest</span>, va_list <span class="funcparam">src</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>This function copied the argument pointer <span class="funcparam">src</span> to dst.
<br><br>
<b>Params:</b><br>
<table><tr>
<td nowrap valign="top" style="padding-right: 8px">va_list <span class="funcparam">src</span></td>

               
<td>The source pointer.</td></tr>
<tr>
<td nowrap valign="top" style="padding-right: 8px">dst</td>

               
<td>The destination pointer.</td></tr>
</table><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</td></tr>
		<tr><td id="docfooter">
			Page was generated with
			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
			on Sat Nov 29 22:33:13 2008

		</td></tr>
	</table>
</div>
<script>
	explorer.packageExplorer.addModule("platform.PAL");
	explorer.packageExplorer.addModule("platform.windows.Core");
	explorer.packageExplorer.addModule("platform.linux.Core");
	explorer.packageExplorer.addModule("system.Array");
	explorer.packageExplorer.addModule("system.BitArray");
	explorer.packageExplorer.addModule("system.Environment");
	explorer.packageExplorer.addModule("system.Event");
	explorer.packageExplorer.addModule("system.Exception");
	explorer.packageExplorer.addModule("system.Hash");
	explorer.packageExplorer.addModule("system.IntPtr");
	explorer.packageExplorer.addModule("system.Random");
	explorer.packageExplorer.addModule("system.Traits");
	explorer.packageExplorer.addModule("system.TypeTuple");
	explorer.packageExplorer.addModule("system.math.IEEE");
	explorer.packageExplorer.addModule("system.math.Math");
	explorer.packageExplorer.addModule("system.runtime.c.complex");
	explorer.packageExplorer.addModule("system.runtime.c.config");
	explorer.packageExplorer.addModule("system.runtime.c.ctype");
	explorer.packageExplorer.addModule("system.runtime.c.errno");
	explorer.packageExplorer.addModule("system.runtime.c.fenv");
	explorer.packageExplorer.addModule("system.runtime.c.inttypes");
	explorer.packageExplorer.addModule("system.runtime.c.limits");
	explorer.packageExplorer.addModule("system.runtime.c.locale");
	explorer.packageExplorer.addModule("system.runtime.c.math");
	explorer.packageExplorer.addModule("system.runtime.c.signal");
	explorer.packageExplorer.addModule("system.runtime.c.stdarg");
	explorer.packageExplorer.addModule("system.runtime.c.stddef");
	explorer.packageExplorer.addModule("system.runtime.c.stdint");
	explorer.packageExplorer.addModule("system.runtime.c.stdio");
	explorer.packageExplorer.addModule("system.runtime.c.stdlib");
	explorer.packageExplorer.addModule("system.runtime.c.string");
	explorer.packageExplorer.addModule("system.runtime.c.time");
	explorer.packageExplorer.addModule("system.runtime.c.wctype");
	explorer.packageExplorer.addModule("system.text.UTF");
	explorer.packageExplorer.addModule("system.threading.Atomic");
	explorer.packageExplorer.addModule("system.threading.ThreadUtility");
	explorer.packageExplorer.addModule("system.threading.synchronization.SpinWait");
	explorer.packageExplorer.addModule("system.collections.ArrayList");
	explorer.packageExplorer.addModule("system.collections.Comparer");
	explorer.packageExplorer.addModule("system.collections.Deque");
	explorer.packageExplorer.addModule("system.collections.EqualityComparer");
	explorer.packageExplorer.addModule("system.collections.Exception");
	explorer.packageExplorer.addModule("system.collections.HashMap");
	explorer.packageExplorer.addModule("system.collections.HashSet");
	explorer.packageExplorer.addModule("system.collections.ICollection");
	explorer.packageExplorer.addModule("system.collections.IComparer");
	explorer.packageExplorer.addModule("system.collections.IDeque");
	explorer.packageExplorer.addModule("system.collections.IEnumerable");
	explorer.packageExplorer.addModule("system.collections.IEnumerator");
	explorer.packageExplorer.addModule("system.collections.IEqualityComparer");
	explorer.packageExplorer.addModule("system.collections.IList");
	explorer.packageExplorer.addModule("system.collections.IMap");
	explorer.packageExplorer.addModule("system.collections.IQueue");
	explorer.packageExplorer.addModule("system.collections.LinkedList");
	explorer.packageExplorer.addModule("system.collections.Pair");
	explorer.packageExplorer.addModule("system.collections.PrimeHelper");
	explorer.packageExplorer.addModule("system.collections.PriorityQueue");
	explorer.packageExplorer.addModule("system.collections.Queue");
	explorer.packageExplorer.addModule("system.collections.RBTree");
	explorer.packageExplorer.addModule("system.collections.Stack");
	explorer.packageExplorer.addModule("system.collections.TreeMap");
	explorer.packageExplorer.addModule("system.collections.TreeSet");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ListCollection");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ReadOnlyListCollection");</script>
</body></html>


